﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace Labthink.PCSoft.UniversalHost4.Model
{
    public partial class ParamScheme
    {
        /// <summary>
        /// 顶层试验类型节点，不可选择
        /// </summary>
        [JsonIgnore]
        public bool IsTop => SchemeName == TestTypeName && Id < 0;

        /// <summary>
        /// 关键参数列表
        /// </summary>
        [JsonIgnore]
        public IEnumerable<FullData> Parameters { get; set; }

        /// <summary>
        /// 非关键参数列表
        /// </summary>
        [JsonIgnore]
        public IEnumerable<FullData> NonKeyParameters { get; set; }
    }
}
